//转码前
//定义数据
let input = [1,2,3]
//将数组的每个元素+1
input = input.map(item => item +1)
console.log(input)